package com.igeek.domain;

/**
 * @author jerry
 * @Company 极客营
 */
public class OrderItem {
    private String itemid;
    private int count;//购买的数量
    private double subtotal;//小计
    private String pid;
    private Product product;//该项中购买的商品对象
    private String oid;//该订单项是属于哪个订单的

    public OrderItem() {
    }

    public String getItemid() {
        return itemid;
    }

    public void setItemid(String itemid) {
        this.itemid = itemid;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(double subtotal) {
        this.subtotal = subtotal;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }
}
